package com.WISSC.mapper;

import com.WISSC.bean.Student;
import com.WISSC.bean.StudentImage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 学员图片关联表 Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2019-05-05
 */
public interface StudentImageMapper extends BaseMapper<StudentImage> {

    /**
     *
     * @return 获取StudentImage 对象
     */
    List<StudentImage> getImageUrl(@Param("map") Map map);

    /**
     * 删除
     * @param id
     */
    int remove(@Param("id") Long id);

    List<StudentImage> getStudentImage(@Param("map") Map map);

    List<StudentImage> getBystuId(@Param("id")Long id);
}
